package com.chhuang.ewcrm.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author chhuang
 * @create 2020-11-08-10:53
 */
@Configuration
@ConfigurationProperties(prefix = "ewcrm", ignoreUnknownFields = false)
@PropertySource("classpath:config/config.properties")
@Data
@Component
public class EwcrmProperties {
    private String uploadPath;
    private Integer wLoginExpDays;
}
